package oas.domain;

/**
 * 
 * 请假类型类
 * 
 * @author wjy
 * @version 1.0.0
 *
 */
public class LeaveType {

	private Long id;
	private String description;
	private boolean available;
	
	/**
	 * @param id 请假类型id
	 * @param description 请假类型描述
	 * @param available 是否还可用，删除标志位
	 */
	public LeaveType(Long id, String description, boolean available) {
		super();
		this.id = id;
		this.description = description;
		this.available = available;
	}

	/**
	 * @return the id
	 */
	public Long getId() {
		return id;
	}

	/**
	 * @param id the id to set
	 */
	public void setId(Long id) {
		this.id = id;
	}

	/**
	 * @return the description
	 */
	public String getDescription() {
		return description;
	}

	/**
	 * @param despription the description to set
	 */
	public void setDescription(String despription) {
		this.description = despription;
	}

	/**
	 * @return the available
	 */
	public boolean isAvailable() {
		return available;
	}

	/**
	 * @param available the available to set
	 */
	public void setAvailable(boolean available) {
		this.available = available;
	}
	
}
